<#import "/include/ui.ftl" as blue />

	<div class="am-u-sm-12">
		<table class="am-table am-table-striped am-table-hover">
			<thead>
			<tr>
				<th width="60">序号</th>
				<th width="150">分享名称</th>
				<th width="200">分享代码</th>
				<th width="100">分享类型</th>
				<th width="200">创建时间</th>
				<th width="150">操作</th>
			</tr>
			</thead>
			<tbody>
			<#list page.objectList as vo>
			<tr id="tr_${vo.id!}">
				<td>${vo_index+1}</td>
				<td><a href="${path}/cms/pan/" target="_blank">${vo.name!}</a></td>
				<td>${vo.code!}</td>
				<td>${vo.refType!}</td>
				<td>${(vo.createTime?datetime)!}</td><td>
				<div class="am-btn-group">
					<a href="javascript:void(0)" onclick="edit_click('${vo.id!}', '${vo.code!}', '${vo.name!}', '${vo.password!}')" class="am-btn am-btn-primary am-btn-sm am-radius">修改</a>
					<a href="${path}/cms/pan/share_log_list?shareId=${vo.id}" class="am-btn am-btn-default am-btn-sm am-radius">日志</a>
					<a href="javascript:void(0)" onclick="delete_click('${vo.id!}')" class="am-btn am-btn-danger am-btn-sm am-radius">删除</a>
				</div>
			</td>
			</tr>
			</#list>
			</tbody>
		</table>
	</div>
	
	<@blue.pagebar page=page url="/cms/pan/share_list" />